<% extends "layout.html" %>
<% block main%>
<div class="album-content layui-container" id="layer-photos-demo">
    <fieldset class="layui-elem-field">
        <legend>美女图片</legend>
        <div class="layui-field-box">
            <div class="layui-row">
                <div class="img-list">
                    <div class="layui-fluid">
                        <div class="layui-row space">
                            <% for item in gril_file_list %>
                             <div class="layui-col-xs12 layui-col-sm6 layui-col-xs3 layui-col-md3">
                                <a href="<< url_for('show',type='gril_image',key=item.dirname) >>">
                                    <div class="item" data-id="4"><img class="load" src="/<< item.path >>">
                                        <div class="cont-text">
                                            <p class="briefly"><< item.dirname >></p></div>
                                    </div>
                                </a>
                             </div>
                            <% endfor %>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>漫画</legend>
        <div class="layui-field-box">
            <div class="layui-row">
                <div class="img-list">
                    <div class="layui-fluid">
                        <div class="layui-row layui-col-space30 space">
                            <% for item in manhua_file_list %>
                               <a href="<< url_for('show',type='manhua',key=item.dirname) >>">
                                    <div class="layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg3">
                                        <div class="item" data-id="4">
                                            <div class="cont-text"><p class="briefly"><< item.dirname >></p></div>
                                        </div>
                                    </div>
                                </a>
                            <% endfor %>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>
</div>
<% endblock %>
<% block script %>$('#home').addClass('layui-this');<% endblock %>